<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>后盾人</title>
  </head>
  <body></body>
  <script>
    let hd = `
      houdunren
      hdcms
    `;
    // console.log(hd.match(/.+/gs));
    // [\s\S] 所有内容   [\d\D] 所有内容
    console.log(hd.match(/[\s\S]+/)[0]);
  </script>
</html>
